const path=require('path');
const HtmlWebpackPlugin = require('html-webpack-plugin')
module.exports = {
    entry:{
        qf:'./src/qf.js',
        index:'./src/index.js'
    },
    output:{
        path:path.resolve(__dirname,"dist"),
       filename:'[name].[chunkHash].js'
    },
    plugins: [
        new HtmlWebpackPlugin({
            filename: 'test5.html',
            template: './public/index.html'
        })
    ]
}